home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 14 / CU Amiga Magazine's Super CD-ROM 14 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-09].iso / CUCD / Programming / Mesa-2.2 / src-glu / gluP.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-27  |  1.6 KB  |  72 lines

  1. /* $Id: gluP.h,v 1.1 1996/09/27 01:19:39 brianp Exp $ */
  2.  
  3. /*
  4.  * Mesa 3-D graphics library
  5.  * Version:  2.0
  6.  * Copyright (C) 1995-1996  Brian Paul
  7.  *
  8.  * This library is free software; you can redistribute it and/or
  9.  * modify it under the terms of the GNU Library General Public
  10.  * License as published by the Free Software Foundation; either
  11.  * version 2 of the License, or (at your option) any later version.
  12.  *
  13.  * This library is distributed in the hope that it will be useful,
  14.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  16.  * Library General Public License for more details.
  17.  *
  18.  * You should have received a copy of the GNU Library General Public
  19.  * License along with this library; if not, write to the Free
  20.  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  21.  */
  22.  
  23.  
  24. /*
  25.  * $Log: gluP.h,v $
  26.  * Revision 1.1  1996/09/27 01:19:39  brianp
  27.  * Initial revision
  28.  *
  29.  */
  30.  
  31.  
  32.  
  33. /*
  34.  * This file allows the GLU code to be compiled either with the Mesa
  35.  * headers or with the real OpenGL headers.
  36.  */
  37.  
  38.  
  39. #ifndef GLUP_H
  40. #define GLUP_H
  41.  
  42.  
  43. #include "GL/gl.h"
  44. #include "GL/glu.h"
  45.  
  46.  
  47. #ifndef MESA
  48.    /* If we're using the real OpenGL header files... */
  49. #  define GLU_TESS_ERROR9    100159
  50. #endif
  51.  
  52.  
  53. #define GLU_NO_ERROR        GL_NO_ERROR
  54.  
  55.  
  56. /* for Sun: */
  57. #ifdef SUNOS4
  58. #define MEMCPY( DST, SRC, BYTES) \
  59.     memcpy( (char *) (DST), (char *) (SRC), (int) (BYTES) )
  60. #else
  61. #define MEMCPY( DST, SRC, BYTES) \
  62.     memcpy( (void *) (DST), (void *) (SRC), (size_t) (BYTES) )
  63. #endif
  64.  
  65.  
  66. #ifndef NULL
  67. #  define NULL 0
  68. #endif
  69.  
  70.  
  71. #endif
  72.